<script setup lang="ts">
import Descriptions from "./descriptions.vue";
const props = defineProps({
  lists: {
    type: Array,
    default: () => []
  }
});
</script>

<template>
  <el-descriptions title="" :column="1" border direction="vertical">
    <el-descriptions-item
      v-for="(item, index) in props.lists"
      :label="item.title"
      width="150"
      >{{ item.contont }}
      <template v-if="item.children">
        <Descriptions :lists="item.children" class="mt-[10px]" />
      </template>
    </el-descriptions-item>
  </el-descriptions>
</template>
